import request from "@/utils/request";

// 获取地区
export  const getRegions=()=>request({
  url:"/mall/regions/list",
  method:'get'
})

// 获取广告
export  const getHomeAdvertise=()=>request({
  url:'/mall/homeAdvertise/list',
  method:'get'
})

// 获取我们的产品
export  const getProductList=(type)=>request({
  url:'/mall/product/myProducts?type='+type,
  method:'get'
})

//我们品牌
export  const getBrandList=()=>request({
  url:'/mall/brands/list',
  method:'get'
})
